$CREATE  SYS$OUTPUT

* * *  Intermetrics Ada Test and Analysis Tools Ver 1.0 Installation  * * *


        This command file installs the Ada Test and Analysis Tools
        in the current working directory.
  
        It assumes the following:

          1) The files TESTTOOL.ADA and RTM.ADA have been loaded
             into the current working directory
  
          2) The Ada Compiler System in use is VAX Ada 1.0 or later

          3) A minimum of 100,000 blocks of disk storage is available
             in the current working directory



$CONTINUE:
$INQUIRE SAVE "Do you want to continue (y/n) ? "
$IF SAVE .EQ. "N" THEN GOTO ABORT
$IF SAVE .NE. "Y" THEN GOTO CONTINUE

$CREATE SYS$OUTPUT

==> Creating Temporary Test_Tools Program Library

$CREATE/DIR [.TTLIB]
$ACS CREATE LIBRARY [.TTLIB]
$ACS SET LIBRARY [.TTLIB]
$CREATE SYS$OUTPUT

==> Compiling Test_Tools
$ADA TESTTOOL.ADA
$CREATE SYS$OUTPUT

==> Linking Test_Tools

$ACS LINK TEST_TOOLS
$CREATE SYS$OUTPUT

The Ada Program Library files created up to this point are no longer needed.

$QUERY:
$INQUIRE SAVE "Do you want to delete them (y/n) ? "
$IF SAVE .EQ. "N" THEN GOTO KEEP
$IF SAVE .NE. "Y" THEN GOTO QUERY
$CREATE SYS$OUTPUT

==> Deleting temporary Test Tools Program Library

$SET PROT/O=RWED TTLIB.DIR
$ACS DELETE LIBRARY [.TTLIB]
$GOTO MAKE_RTM
$KEEP:
$CREATE SYS$OUTPUT

==> Temporary Test Tools Program Library kept
$MAKE_RTM:
$CREATE SYS$OUTPUT

==> Creating the Run Time Monitor Library

$ACS CREATE LIBRARY [.RTMLIB]
$ACS SET LIBRARY [.RTMLIB]
$CREATE SYS$OUTPUT

==> Compiling the Run Time Monitor
$ADA RTM.ADA
$CREATE SYS$OUTPUT

* * *  Installation Complete!  * * *

$EXIT

$ABORT:
$CREATE SYS$OUTPUT

* * *  Installation Aborted!  * * *
